<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>个人资料 - 社交圈</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #4A6FFF;
      --primary-light: #E8F0FF;
      --success: #34C759;
      --text-primary: #1D2129;
      --text-secondary: #86909C;
      --border-light: #E5E6EB;
      --bg-white: #FFFFFF;
      --bg-light: #F2F3F5;
      --premium: #FFB800;
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-primary);
      font-size: 15px;
      line-height: 1.6;
      padding-bottom: 60px;
    }
    
    /* 顶部导航 */
    .page-header {
      background-color: var(--bg-white);
      padding: 15px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-light);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .header-title {
      font-size: 18px;
      font-weight: 600;
    }
    
    .header-btn {
      color: var(--primary);
      font-size: 16px;
      background: none;
      border: none;
      padding: 5px 10px;
      font-weight: 500;
    }
    
    .back-btn {
      color: var(--text-primary);
      font-size: 20px;
      text-decoration: none;
    }
    
    /* 资料卡片 */
    .profile-card {
      background-color: var(--bg-white);
      margin: 15px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .profile-cover {
      height: 120px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      position: relative;
    }
    
    .cover-edit {
      position: absolute;
      right: 15px;
      bottom: 15px;
      background-color: rgba(0,0,0,0.3);
      color: white;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(2px);
    }
    
    .avatar-container {
      display: flex;
      justify-content: center;
      margin-top: -60px;
      padding: 0 16px;
    }
    
    .avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid var(--bg-white);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .avatar-edit {
      position: relative;
      top: -25px;
      left: 45px;
      background-color: var(--primary);
      color: white;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 3px solid var(--bg-white);
    }
    
    .profile-basic {
      text-align: center;
      padding: 0 16px 16px;
      margin-top: -30px;
    }
    
    .username {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 5px;
    }
    
    .user-title {
      color: var(--text-secondary);
      font-size: 14px;
      margin-bottom: 10px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    
    .verify-badge {
      color: var(--primary);
    }
    
    .user-bio {
      font-size: 15px;
      line-height: 1.5;
      margin-bottom: 15px;
      padding: 0 10px;
    }
    
    /* 资料详情区 */
    .profile-details {
      background-color: var(--bg-white);
      margin: 0 15px 15px;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 15px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border-light);
    }
    
    .info-item {
      display: flex;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }
    
    .info-item:last-child {
      border-bottom: none;
    }
    
    .info-label {
      width: 85px;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .info-value {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .info-icon {
      color: var(--primary);
      font-size: 16px;
      width: 20px;
      text-align: center;
    }
    
    .gender-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .gender-male {
      background-color: #E8F4FD;
      color: #2196F3;
    }
    
    .gender-female {
      background-color: #FCE4EC;
      color: #E91E63;
    }
    
    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    
    .user-tag {
      background-color: var(--primary-light);
      color: var(--primary);
      padding: 3px 12px;
      border-radius: 12px;
      font-size: 12px;
    }
    
    /* 社交媒体链接 */
    .social-links {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    
    .social-link {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background-color: var(--bg-light);
      border-radius: 8px;
      color: var(--text-primary);
      text-decoration: none;
      font-size: 14px;
    }
    
    .social-link:hover {
      background-color: var(--primary-light);
      color: var(--primary);
    }
    
    .social-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* 账号安全区 */
    .security-section {
      background-color: var(--bg-white);
      margin: 0 15px 15px;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .security-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }
    
    .security-item:last-child {
      border-bottom: none;
    }
    
    .security-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .security-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background-color: var(--primary-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }
    
    .security-text {
      display: flex;
      flex-direction: column;
    }
    
    .security-title {
      font-weight: 500;
    }
    
    .security-desc {
      font-size: 12px;
      color: var(--text-secondary);
    }
    
    .security-status {
      color: var(--success);
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .status-pending {
      color: var(--text-secondary);
    }
    
    /* 底部导航 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: var(--bg-white);
      border-top: 1px solid var(--border-light);
      display: flex;
      justify-content: space-around;
      padding: 8px 0;
      z-index: 100;
    }
    
    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 10px;
      flex: 1;
    }
    
    .nav-item.active {
      color: var(--primary);
    }
    
    .nav-icon {
      font-size: 20px;
      margin-bottom: 3px;
    }
  </style>
</head>
<body>
  <!-- 顶部导航 -->
  <div class="page-header">
    <a href="#" class="back-btn">
      <i class="fa fa-arrow-left"></i>
    </a>
    <div class="header-title">个人资料</div>
    <button class="header-btn">编辑</button>
  </div>
  
  <!-- 资料卡片 -->
  <div class="profile-card">
    <div class="profile-cover">
      <div class="cover-edit">
        <i class="fa fa-camera"></i>
      </div>
    </div>
    
    <div class="avatar-container">
      <img src="https://picsum.photos/200/200?random=5" alt="用户头像" class="avatar">
      <div class="avatar-edit">
        <i class="fa fa-pencil"></i>
      </div>
    </div>
    
    <div class="profile-basic">
      <div class="username">林小雨</div>
      <div class="user-title">
        自由摄影师 | 旅行爱好者
        <i class="fa fa-check-circle verify-badge"></i>
      </div>
      <div class="user-bio">
        用镜头记录生活中的美好瞬间，分享旅途中的风景与人情。
        合作邮箱：linxiaoyu@example.com
      </div>
    </div>
  </div>
  
  <!-- 基本资料 -->
  <div class="profile-details">
    <div class="section-title">基本资料</div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-user info-icon"></i>
        昵称
      </div>
      <div class="info-value">林小雨</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-id-card info-icon"></i>
        真实姓名
      </div>
      <div class="info-value">林雨欣</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-venus-mars info-icon"></i>
        性别
      </div>
      <div class="info-value">
        <div class="gender-icon gender-female">
          <i class="fa fa-venus"></i>
        </div>
        女
      </div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-birthday-cake info-icon"></i>
        生日
      </div>
      <div class="info-value">1995年6月18日</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-map-marker info-icon"></i>
        所在地
      </div>
      <div class="info-value">上海市 黄浦区</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-graduation-cap info-icon"></i>
        学校
      </div>
      <div class="info-value">上海视觉艺术学院 摄影系</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-briefcase info-icon"></i>
        职业
      </div>
      <div class="info-value">自由摄影师</div>
    </div>
  </div>
  
  <!-- 兴趣爱好 -->
  <div class="profile-details">
    <div class="section-title">兴趣爱好</div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-tags info-icon"></i>
        标签
      </div>
      <div class="info-value">
        <div class="tag-list">
          <span class="user-tag">摄影</span>
          <span class="user-tag">旅行</span>
          <span class="user-tag">美食</span>
          <span class="user-tag">生活</span>
          <span class="user-tag">电影</span>
          <span class="user-tag">音乐</span>
          <span class="user-tag">阅读</span>
        </div>
      </div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-music info-icon"></i>
        音乐
      </div>
      <div class="info-value">独立民谣、轻音乐</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-film info-icon"></i>
        电影
      </div>
      <div class="info-value">文艺片、纪录片</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-book info-icon"></i>
        书籍
      </div>
      <div class="info-value">旅行随笔、摄影技巧</div>
    </div>
  </div>
  
  <!-- 社交链接 -->
  <div class="profile-details">
    <div class="section-title">社交链接</div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-link info-icon"></i>
        个人网站
      </div>
      <div class="info-value">www.linxiaoyu-photo.com</div>
    </div>
    
    <div class="info-item">
      <div class="info-label">
        <i class="fa fa-share-alt info-icon"></i>
        社交媒体
      </div>
      <div class="info-value">
        <div class="social-links">
          <a href="#" class="social-link">
            <div class="social-icon" style="background-color: #E6F7FF; color: #1890FF;">
              <i class="fa fa-weibo"></i>
            </div>
            微博
          </a>
          <a href="#" class="social-link">
            <div class="social-icon" style="background-color: #E6FFFA; color: #00B42A;">
              <i class="fa fa-weixin"></i>
            </div>
            微信
          </a>
          <a href="#" class="social-link">
            <div class="social-icon" style="background-color: #FFF2E8; color: #FF7D00;">
              <i class="fa fa-instagram"></i>
            </div>
            Instagram
          </a>
        </div>
      </div>
    </div>
  </div>
  
  <!-- 账号安全 -->
  <div class="security-section">
    <div class="section-title">账号安全</div>
    
    <div class="security-item">
      <div class="security-info">
        <div class="security-icon">
          <i class="fa fa-mobile"></i>
        </div>
        <div class="security-text">
          <div class="security-title">手机号码</div>
          <div class="security-desc">已绑定：138****5678</div>
        </div>
      </div>
      <div class="security-status">
        <i class="fa fa-check-circle"></i> 已验证
      </div>
    </div>
    
    <div class="security-item">
      <div class="security-info">
        <div class="security-icon">
          <i class="fa fa-envelope"></i>
        </div>
        <div class="security-text">
          <div class="security-title">电子邮箱</div>
          <div class="security-desc">已绑定：lin***@example.com</div>
        </div>
      </div>
      <div class="security-status">
        <i class="fa fa-check-circle"></i> 已验证
      </div>
    </div>
    
    <div class="security-item">
      <div class="security-info">
        <div class="security-icon">
          <i class="fa fa-lock"></i>
        </div>
        <div class="security-text">
          <div class="security-title">密码设置</div>
          <div class="security-desc">上次修改于30天前</div>
        </div>
      </div>
      <div class="security-status status-pending">
        <i class="fa fa-angle-right"></i>
      </div>
    </div>
    
    <div class="security-item">
      <div class="security-info">
        <div class="security-icon">
          <i class="fa fa-shield"></i>
        </div>
        <div class="security-text">
          <div class="security-title">实名认证</div>
          <div class="security-desc">未完成实名认证</div>
        </div>
      </div>
      <div class="security-status status-pending">
        <i class="fa fa-angle-right"></i>
      </div>
    </div>
  </div>
  
  <!-- 底部导航 -->
  <div class="bottom-nav">
    <a href="#" class="nav-item">
      <i class="fa fa-home nav-icon"></i>
      <span>首页</span>
    </a>
    <a href="#" class="nav-item">
      <i class="fa fa-compass nav-icon"></i>
      <span>发现</span>
    </a>
    <a href="#" class="nav-item">
      <i class="fa fa-plus-circle nav-icon" style="font-size: 1.8rem; margin-top: -0.3rem;"></i>
    </a>
    <a href="#" class="nav-item">
      <i class="fa fa-envelope-o nav-icon"></i>
      <span>消息</span>
    </a>
    <a href="#" class="nav-item active">
      <i class="fa fa-user nav-icon"></i>
      <span>我的</span>
    </a>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 返回按钮
    document.querySelector('.back-btn').addEventListener('click', function() {
      history.back();
    });
    
    // 编辑按钮
    document.querySelector('.header-btn').addEventListener('click', function() {
      alert('进入资料编辑页面');
    });
    
    // 封面和头像编辑
    document.querySelector('.cover-edit').addEventListener('click', function() {
      alert('更换封面图片');
    });
    
    document.querySelector('.avatar-edit').addEventListener('click', function() {
      alert('更换头像图片');
    });
    
    // 社交链接点击
    document.querySelectorAll('.social-link').forEach(link => {
      link.addEventListener('click', function(e) {
        e.preventDefault();
        alert(`访问${this.textContent.trim()}主页`);
      });
    });
    
    // 安全项目点击
    document.querySelectorAll('.security-item').forEach(item => {
      const status = item.querySelector('.security-status');
      if (status.classList.contains('status-pending')) {
        item.addEventListener('click', function() {
          const title = this.querySelector('.security-title').textContent;
          alert(`进入${title}设置页面`);
        });
      }
    });
    
    // 底部导航交互
    document.querySelectorAll('.nav-item').forEach(item => {
      if (!item.querySelector('.fa-plus-circle')) { // 排除发布按钮
        item.addEventListener('click', function(e) {
          e.preventDefault();
          document.querySelectorAll('.nav-item').forEach(nav => {
            nav.classList.remove('active');
          });
          this.classList.add('active');
        });
      }
    });
    
    // 发布按钮交互
    document.querySelector('.nav-item .fa-plus-circle').parentElement.addEventListener('click', function(e) {
      e.preventDefault();
      alert('打开发布内容选项');
    });
  </script>
</body>
</html>

